﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace sieuthi.Threelayer.BUS
{
    public class chitietBUS
    {
        private DAL.chitietDAL db = new DAL.chitietDAL();

        //Customer get by all
        public List<VO.chitietVO> chitiet_xem()
        {
            return db.chitiet_xem();
        }

        //Customer Update
        public bool chitiet_sua(VO.chitietVO obj)
        {
            return db.chitiet_sua(obj);
        }

        //Customer Insert
        public bool chitiet_them(VO.chitietVO obj)
        {
            return db.chitiet_them(obj);
        }

        //Customer Delete
        public bool chitiet_xoa(string Id)
        {
            return db.chitiet_xoa(Id);
        }

        public void chitiet_them()
        {
            throw new NotImplementedException();
        }
    }
}
